package com.crm.business.crm.mapper;


import com.alibaba.fastjson.JSONObject;
import com.crm.business.servlet.BaseMapper;
import com.crm.common.crm.entity.BO.CrmRoiPutinPageBO;
import com.crm.common.crm.entity.PO.CrmRoiStatis;
import com.crm.common.crm.entity.PO.CrmRoiYearStatis;
import com.crm.common.crm.entity.VO.CrmRoiStatisVO;
import com.crm.common.ka.core.entity.BasePage;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * <p>
 * 投放消耗表 Mapper 接口
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-05-21
 */
public interface CrmRoiYearStatisMapper extends BaseMapper<CrmRoiYearStatis> {

    public CrmRoiYearStatis queryYearStatisForFormDate(@Param("formDate") String formDate);

    public CrmRoiYearStatis queryYearStatisForData(@Param("formDate") String formDate,@Param("source") String source);

    public List<CrmRoiYearStatis> queryYearStatis(@Param("source") String source,@Param("startDate") String startDate,@Param("endDate") String endDate);



}
